<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:39:"./views/home/mobile/account\jifen.phtml";i:1621055568;s:67:"E:\Web\test.zztuku.com\public\views\home\mobile\common\header.phtml";i:1541935408;}*/ ?>
﻿<!DOCTYPE HTML>
<html>

<head>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>新手任务</title>
    <link href="/static/home/mobile/css/reset_5.css" rel="stylesheet" type="text/css"/>
    <link href="/static/home/mobile/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="/static/home/mobile/css/new_style.css" rel="stylesheet" type="text/css"/>
    <link rel="shortcut icon" href="clientapp/images/new_images/favicon.ico" />
<link href="/static/home/mobile/css/reset_5.css" rel="stylesheet" type="text/css" />
<link href="/static/home/mobile/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/static/home/mobile/css/font-awesome.min.css">
<link href="/static/home/mobile/css/new_style.css" rel="stylesheet" type="text/css" />
<!-- 弹出层 -->
<link rel="stylesheet" href="/static/plugins/dialog/css/dialog.css" />
<script src="/static/home/mobile/js/jquery-2.0.3.min.js"></script>
<script src="/static/plugins/dialog/js/dialog.js"></script>
<!-- 弹出层 -->
<script type="text/javascript" src="/static/plugins/clipboard.min.js"></script>
<script type="text/javascript" src="/static/home/mobile/js/global.js?v=2"></script>
    <style>

	.top {
	    margin-top: 47px;
	    padding: 1rem 2rem;
	    position: relative;
	}
.top .tit {
    width: 100%;
    display: block;
    margin-left: .3rem;
}

.top .date {
    text-align: center;
    font-size: 1.95rem;
    color: rgb(238, 255, 170);
    padding-top: .6rem;
}


.top .str {
    text-align: center;
    font-size: 1.7rem;
    color: #fff;
    padding-top: .3rem;
}

.top .but {
    width: 7rem;
    margin: 0 auto;
    margin-top: .5rem;
    font-size: .8rem;
    padding: .3rem;
    color: #fff;
    background-image: linear-gradient(to top,#FF716F,#FF4E60);
    background-color: #FF716F;
    text-align: center;
    border-radius: 2rem;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    display: none;
}

        .member-form{
            background-color: #f5f5f5;
            width: 100%;
            height: auto;
            padding-top: 5px;
        }
        .header-title{
            line-height: 50px;
            padding-left: 10px;
            font-size: 15px;
            color: #000000
        }
        .bindMail.main {
    background-color: #000;
}
        .item-list{
            margin: 10px 0;
            background-color: #1a1a1a;
            border-radius: 6px;
        	height:58px;
        }
        .item{
            width: 100%;
          /*  height: 60px;*/
            clear: both;
        }
        .item:last-child{
            /*border-top: 1px solid #E1E1E1;*/
        }
        .title{
            font-size: 14px;
            line-height: 14px;
            color: #fff;
            margin-top: 10px;
            margin-bottom: 10px;
            float: left;
            position: relative;
            margin-left: 20px;
        }
        i{
            display: block;
            margin-left: 10px;
            position: relative;
            float: left;
        }
        i.icon1{
            background-image: url("/static/home/mobile/images/order.png");
            width: 40px;
            height: 40px;
            background-size: 100%;
            background-repeat: no-repeat;
            margin-top: 10px;
            line-height: 40px;
		    text-align: center;
		    color: #fff;
		    font-size: 20px;
		    font-weight: bold;
		        }
        i.icon2{
            background-image: url("/static/home/mobile/images/obtain_details_img2.png");
            width: 23px;
            height: 25px;
            background-size: 100%;
            background-repeat: no-repeat;
            margin-top: 15px;
        }
        i.icon3{
            background-image: url("/static/home/mobile/images/obtain_details_img3.png");
            width: 23px;
            height: 25px;
            background-size: 100%;
            background-repeat: no-repeat;
            margin-top: 15px;
        }
        .go_success{
			float: right;
		    width: 86px;
		    height: 30px;
		    padding: 0;
		    border: 0;
		    margin-top: 14px;
		    position: relative;
		    border-radius: 50px;
		    line-height: 30px;
		    background: #2254f4;
		    color: white !important;
		    font-size: 14px;
		    text-align: center;
		    margin-right: 10px;
        }
        
        .go_done{
			float: right;
		    width: 86px;
		    height: 30px;
		    padding: 0;
		    border: 0;
		    margin-top: 14px;
		    position: relative;
		    border-radius: 50px;
		    line-height: 30px;
		    color: #2254f4 !important;
		    font-size: 14px;
		    text-align: center;
		    margin-right: 10px;
		    border:2px solid #2254f4;
        }
   .member-ts {
    background: #1a1a1a;
    line-height: 24px;
    color: #e2dcdc;
    padding: 10px 15px;
}
.member-ts p {
    display: block;
    padding-left: 20px;
    color: #fff;
    position: relative;
}
.member-ts p:before {
    position: absolute;
    content: '';
    left: 6px;
    top: 10px;
    background-color: #fff;
    height: 4px;
    width: 4px;
    border-radius: 100%;
}
.site-header {
    background: url(/static/home/mobile/images/jifen-background.jpg);
}     

body {
    top: 0;
    background: url(/static/home/mobile/images/jifen-background.jpg);
    background-size: 100% 100%;
  
}

.item-media a {
    color: #f60;
}

    </style>
</head>
<body>
    <div class="site-header header-fixed">
        <a onclick="history.back()" class="back"></a>
        <div class="tit-name">新手专区</div>
    </div>
    
<div class="top"><img src="/static/home/mobile/images/xinren-top2.png" alt="" class="tit">

                <div class="str">
                    完成新手任务，奖励高达10元
                </div> <div class="but">
                    接单排行榜
                </div>
 
                	</div> 
    		
    <div class="main bindMail" style="margin-top:10px;margin:0 1rem;">
    	
   
    
            <div class="item-list" style="display:none;">
             
                <div class="item">
                    <i class="icon1">1</i>
                    <span class="title">完成绑定微信</span>
                    <?php if($member['openid2']==''): ?>
                    <a href="/home/account/index.html" class="go_success">去完成</a>
                    <?php else: ?>
                    <a href="#" class="go_done">已完成</a>
                    <?php endif; ?>
                </div>

            </div>
     
        
        

          
    <!--        <div class="item-list">-->
				<!--<div class="item">-->
    <!--                <i class="icon1">1</i>-->
    <!--                <span class="title">完成一次分享-->
    <!--                <br>-->
    <!--                <i style="margin-left:0px;margin-top:10px;font-size:12px;color:#999;">-->
    <!--                	现金奖励<span style="color:red;"> +0.1</span>元-->
    <!--                	</i>-->
    <!--                </span>-->
    <!--                <?php if($member['is_share'] < 1): ?>-->
	   <!--                  <a href="/home/task/index.html" class="go_done">去完成</a>-->
                    
    <!--                <?php elseif($member['is_share'] == 1): ?>-->
    <!--                	<a href="javascript:;" class="go_success" onclick="get_reward('is_share')">领取</a>-->
                    	
    <!--                <?php elseif($member['is_share'] == 2): ?>-->
    <!--            			 <a href="#" class="go_success">已完成</a>-->
    <!--                <?php endif; ?>-->
    <!--            </div>-->
    <!--        </div>-->
            


            <div class="item-list">
				<div class="item">
                    <i class="icon1">1</i>
                    <span class="title">完成1个任务
                    <br>
                 <i style="margin-left:0px;margin-top:10px;font-size:12px;color:#fff;">现金奖励<span style="color:#ff9251;">  +0.3</span>元</i>
                    </span>
                    <?php if($member['over_task_num'] <1): ?>
                    <a href="/home/task/index.html" class="go_done">去完成</a>
                    <?php elseif($member['over_task_num'] >=1 && $member['over_task_1'] < 1): ?>
                    		<a href="javascript:;" class="go_success" onclick="get_reward('over_task_1')">领取</a>
                    <?php elseif($member['over_task_1'] == 1): ?>
                			 <a href="#" class="go_success">已完成</a>
                    <?php endif; ?>
                </div>
            </div>



            
            <div class="item-list">
				<div class="item">
                    <i class="icon1">2</i>
                    <span class="title">完成3个任务
                    <br>
                    <i style="margin-left:0px;margin-top:10px;font-size:12px;color:#fff;">现金奖励<span style="color:#ff9251;"> +0.5</span>元</i>
                    </span>
               
                    <?php if($member['over_task_num'] <3): ?>
                    	<a href="/home/task/index.html" class="go_done">去完成</a>
                    <?php elseif($member['over_task_num'] >=3 && $member['over_task_3'] < 1): ?>
                    		<a href="javascript:;" class="go_success" onclick="get_reward('over_task_3')">领取</a>
                    <?php elseif($member['over_task_1'] == 1): ?>
                			 <a href="#" class="go_success">已完成</a>
                    <?php endif; ?>
            
                </div>
            </div>
            
            

            
            
            <div class="item-list">
				<div class="item">
                    <i class="icon1">3</i>
                    <span class="title">完成8个任务
                    <br>
                     <i style="margin-left:0px;margin-top:10px;font-size:12px;color:#fff;">现金奖励<span style="color:#ff9251;"> +1</span>元</i>
                    </span>
                    <?php if($member['over_task_num'] <8): ?>
                    	<a href="/home/task/index.html" class="go_done">去完成</a>
                    <?php elseif($member['over_task_num'] >=8 && $member['over_task_8'] < 1): ?>
                    		<a href="javascript:;" class="go_success" onclick="get_reward('over_task_8')">领取</a>
                    <?php elseif($member['over_task_1'] == 1): ?>
                			  <a href="#" class="go_success">已完成</a>
                    <?php endif; ?>
                    
                </div>
            </div>
            
            
            <div class="item-list">
				<div class="item">
                    <i class="icon1">4</i>
                    <span class="title">邀请5个有效好友
                    <br>
                    <i style="color:#fff;margin-left:0px;margin-top:10px;font-size:12px;">现金奖励<span style="color:#ff9251;"> +6.66</span>元</i>
                    </span>
                    <?php if($valid_count <5): ?>
                    	<a href="/home/invite.html" class="go_done">去完成</a>
                    <?php elseif($valid_count >=5 && $member['over_task_5'] < 1): ?>
                    		<a href="javascript:;" class="go_success" onclick="get_reward('over_task_5')">领取</a>
                    <?php elseif($member['over_task_5'] == 1): ?>
                			 <a href="#" class="go_success">已完成</a>
                    <?php endif; ?>
                </div>
            </div>
            
        
        
        
        <div class="member-btn" style="display:none;">
            <input type="button" class="button1" value="领取" style="color: #fffff;background: #f96a22">
        </div>
        <div class="member-ts" style="display:block;">
            <label>温馨提示</label>
			<p>有效好友为提现过一次的好友</p>
          
        </div>
    </div>
    <script type="text/javascript">
		var  lingqu = "<?php echo $member['rz_reward']; ?>";
		if(lingqu==1){
			$('.button1').attr('disabled',true);
			$('.button1').val('已领取');
		}
        $(function () {
            //设置邮箱
           
            $('.button1').click(function () {
            	$('.button1').attr('disabled',true);
                $.post(
                    window.location.href,
                    {
                    },
                    function (ret) {
                        message(ret.message,ret.redirect,ret.type);
                    },'json'
                );
            });
        });
    </script>
    <script>
    	function get_reward(type){
    			$.post(
                    '/home/account/get_reward',
                    {
                      type: type,
                    },
                    function (ret) {
	            		 message(ret.message,ret.redirect,ret.type);
                      console.log(ret)
                    },'json'
                );
    	}
    </script>
</body>
</html>